public class TestArray{
	public static void mian (String args[]) {
		int [] array1,array2;
		array1=new array{2,4,6,8,10};
		for(i=0;i<array1.length;i++){
			System.out.println(array1[i]);
		}
		System.out.println();
		System.out.println(array1);
		array2=array1;
		system.out.println(array2);
		for(i=0;i<array2.length;i++){
			if(i%2==0){
				array2[i]=i;

			}
		}

         for(i=0;i<array2.length;i++){
         	System.out.println(array1[i]);
         }

	}

}